package com.design.pattern.createmode.abstractfactory;
/**
 * 创建型模式-抽象工厂模式
 * @author yll
 * @version 1.0.0
 * @date 2024/03/14 21：42
 * @desc 抽象工厂实现-黑色汽车系列
 * */
public class FactoryBlackCar implements IFactoryCar {
    @Override
    public ICarSuv createCarSuv() {
        return new BlackCarSuv();
    }

    @Override
    public ICarSedan createCarSedan() {
        return new BlackCarSedan();
    }
}
